A simple black and white Line chart with Trace2- defaults have been changed though so there is some configuration required.
This goes in the documents header:<script src="RGraph.common.core.js"></script> <script src="RGraph.line.js"></script>Put this where you want the chart to show up:
<canvas id="cvs" width="600" height="250"> [No canvas support] </canvas>This is the code that generates the chart:
<script> new RGraph.Line({ id: 'cvs', data: [4,5,5,6,6,7,4,5,6,8,8,9,15,16,24,25, null, null], options: { numxticks: 0, numyticks: 0, backgroundGrid: false, colors: ['black'], linewidth: 5, hmargin: 5, ylabels: false, shadow: false, tickmarks: null } }).trace2(); </script>